//
//  ShopOnlineOfflineCell.m
//  BusinessMarket
//
//  Created by Michael Li on 2018/11/1.
//  Copyright © 2018年 Michael Li. All rights reserved.
//

#import "ShopOnlineOfflineCell.h"
#import "ServiceModel.h"
@interface ShopOnlineOfflineCell()
@property (weak, nonatomic) IBOutlet UIImageView *iv;
@property (weak, nonatomic) IBOutlet UILabel *titleL;
@property (weak, nonatomic) IBOutlet UILabel *representL;
@property (weak, nonatomic) IBOutlet UIButton *deleBtn;
@property (weak, nonatomic) IBOutlet UIButton *soldOutBtn;
@property (weak, nonatomic) IBOutlet UIView *view;
@property (weak, nonatomic) IBOutlet UIButton *reviseBtn;
@end
@implementation ShopOnlineOfflineCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.deleBtn.layer.cornerRadius = 3;
    self.deleBtn.alpha = 0.9;
    [self.deleBtn setTitleColor:[UIColor redColor] forState:UIControlStateNormal];
    self.soldOutBtn.layer.cornerRadius = 3;
    self.soldOutBtn.alpha = 0.9;
    [self.soldOutBtn setTitleColor:kLabel102Color forState:UIControlStateNormal];
    self.reviseBtn.layer.cornerRadius = 3;
    self.reviseBtn.alpha = 0.9;
    [self.reviseBtn setTitleColor:[UIColor colorWithRed:139/255.0 green:195/255.0 blue:74/255.0 alpha:1] forState:UIControlStateNormal];
    self.view.layer.cornerRadius = 3;
    self.view.layer.borderColor  = kLineColor.CGColor;
    self.view.layer.borderWidth  = 1;
}

- (void)setModel:(ServiceModel *)model {
    _model = model;
//    [self.iv sd_setImageWithURL:[NSURL URLWithString:msgModel.icon] placeholderImage:[UIImage imageNamed:@""]];
}
@end
